package tankgame;

public class Bomb {
    int x;
    int y;
    int life = 9;
    boolean isAlive = true;
    void lifeDown(){
        life--;
        if(life == 0){
            isAlive = false;
        }
    }

    public Bomb(int x, int y){
        this.x = x;
        this.y = y;
    }
}
